$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .main {
    margin: 220/$f+vw 200/$f+vw 120/$f+vw 200/$f+vw;

    .links {
      display: flex;

      a,
      p,
      span {
        color: #B8B8B8;
        font-size: 24/$f+vw;
        text-transform: uppercase;
      }

      a {
        transition: all 600ms;

        &:hover {
          color: #E60012;
        }
      }

      span {
        margin: 0 1vw;
      }
    }

    .pro_box {
      margin: 3vw 0;

      .ptypes {
        display: flex;

        a {
          border-radius: 50px;
          background: #F6F6F6;
          color: #000;
          font-size: 20/$f+vw;
          font-weight: 500;
          padding: 16/$f+vw 20/$f+vw;
          min-width: 93/$f+vw;
          text-align: center;
          margin-right: 1vw;
          transition: all 600ms;

          &:hover {
            background: #E60012;
            color: white;
          }
        }

        .active {
          background: #E60012;
          color: white;
        }
      }

      .pro_swiper{
        width: 100%;
        margin: 80/$f+vw 0 0 0;
        .button{
          position: absolute;
          width: 100%;
          top: 50%;
          transform: translateY(-50%);
          box-sizing: border-box;
          padding: 0 80/$f+vw;
          display: flex;
          justify-content: space-between;
          z-index: 2;
          pointer-events: none;
          .circle{
            pointer-events: auto;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 58/$f+vw;
            height: 58/$f+vw;
            border-radius: 50%;
            background: rgba(255,255,255,.31);
            transition: .6s;
            &:hover{
              background: #E60012;
            }
          }
        }
        .swiper-slide{
          img{
            width: 100%;
          }
        }
        .swiper-pagination{
          bottom: 33/$f+vw;
          span{
            width: 70/$f+vw;
            height: 4/$f+vw;
            border-radius: 0!important;
            opacity: 1 !important;
            background: rgba(255,255,255,.89) !important;
            transition: .3s;
          }
          .swiper-pagination-bullet-active{
            background: #E60012 !important;
          }
        }
      }

      .big_content{
        display: flex;
        justify-content: space-between;
        margin: 80/$f+vw 0 0 0;
        &.row{
          flex-direction: row-reverse;
        }
        .l{
          width: 670/$f+vw;
          .img{
            width: 100%;
            margin: 0 0 24/$f+vw;
            img{
              width: 100%;
            }
          }
          .text{
            text-align: center;
            .year{
              color: #626262;
              font-size: 14/$f+vw;
              font-weight: 400;
              margin: 0 0 16/$f+vw;
              line-height: 14/$f+vw;
            }
            .pick{
              width: 487/$f+vw;
              margin: auto;
              color: #000;
              text-align: center;
              font-size: 18/$f+vw;
              font-weight: 400;
              line-height: 27/$f+vw; /* 150% */
            }
          }
        }
        .r{
          width: 670/$f+vw;
          .flex{
            margin: 0 0 90/$f+vw;
            .list{
              display: block;
              &:not(:last-child) {
                margin: 0 0 48/$f+vw;
              }
              .time{
                color: #626262;
                font-size: 14/$f+vw;
                font-weight: 400;
                line-height: 14/$f+vw; /* 100% */
                margin: 0 0 16/$f+vw;
              }
              p{
                color: #000;
                font-size: 18/$f+vw;
                font-weight: 400;
                line-height: 27/$f+vw; /* 150% */
                transition: .6s ;
              }
              &:hover{
                p{
                  color: #E60012;
                }
              }
            }
          }
          .more {
            display: flex;
            align-items: center;
            transition: all 500ms;
            background: #F6F6F6;
            width: fit-content;
            padding: 1vw 2.5vw;
            p{
              color: #333;
              font-size: 20/$f+vw;
              font-weight: 500;
              transition: all 500ms;
            }
            svg{
              width: 20/$f+vw;
              margin-left: 1vw;
              path{
                transition: all 500ms;
                stroke:#333333;
              }
            }
            &:hover{
              background: #E60012;
              p{
                color:white;
              }
              svg{
                path{
                  stroke: white;
                }
              }
            }
          }
        }
      }

      .allItems_title{
        margin: 120/$f+vw 0 0 0;
        .line{
          width: 113/$f+vw;
          height: 4/$f+vw;
          background: #E60012;
          margin: 0 0 32/$f+vw;
        }
        h1{
          color: #1A202C;
          font-size: 40/$f+vw;
          font-style: normal;
          font-weight: 500;
          text-transform: uppercase;
        }
      }

      .allItems {
        display: flex;
        flex-wrap: wrap;
        width: 105%;
        margin-left: -2.5%;

        a {
          display: block;
          width: 30%;
          background-color: white;
          margin-left: 2.5%;
          margin-top: 3vw;

          .pic {
            overflow: hidden;

            img {
              width: 100%;
              display: block;
              object-fit: cover;
              transition: all 600ms;
            }
          }

          .time {
            color: #626262;
            font-size: 15/$f+vw;
            margin: 1.2vw 0 .8vw 0;
          }

          .des {
            color: #000;
            font-size: 18/$f+vw;
            line-height: 1.5;
            transition: all 600ms;
          }

          &:hover {
            .pic {
              img {
                transform: scale(1.05);
              }
            }

            .des {
              color: #E60012;
            }
          }
        }
      }

      .pager {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 5vw 0;

        .prev,
        .next {
          svg {
            display: block;
            width: 23/$f+vw;
          }
        }
        a{
          img{
            margin: 0 0 0 10px;
            display: block;
          }
        }
        a:nth-last-child(2) {
          img{
            margin: 0 10px 0 0 ;
          }
        }
        .nums {
          display: flex;
          margin: 0 1vw;

          a {
            color: rgba(139, 139, 139, 1);
            font-size: 20/$f+vw;
            padding: 0.1vw 0.5vw;
            margin: 0 0.2vw;

          }


          .active {
            color: #E94829;
            border-bottom: 2px solid #E94829;
            font-weight: 600;
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 100px;
    .main{
      margin: 0 5%;
      .links{
        a,p,span{
          font-size: 16px;
        }
      }
      .pro_box{
        margin: 30px 0;
        .ptypes{
          flex-wrap: wrap;
          a{
            font-size: 14px;
            min-width: 80px;
            margin: 0 10px 10px 0;
            padding: 8px 10px;
          }
        }
        .allItems{
          width: 100%;
          margin-left: 0;
          a{
            width: 100%;
            margin-left: 0;
            margin-bottom: 20px;
            .time{
              font-size: 14px;
              margin: 15px 0 5px 0;
            }
            .des{
              font-size: 16px;
            }
          }
        }
        .pager{
          margin: 20px 0 60px 0;
          .prev,.next{
            svg{
              width: auto;
            }
          }
          .nums{
            margin: 0 10px;
            a{
              font-size: 16px;
              padding: 3px 5px;
              margin: 0 5px;
            }
          }
        }
        .pro_swiper{
          .swiper-pagination{
            bottom: 5%;
            span{
              width: 40px;
              height: 3px;
            }
          }
          .button{
            .circle{
              height: 30px;
              width: 30px;
              img{
                width: 24px;
              }
            }
          }
          margin: 25px 0 0 0;
          .swiper-slide{
            img{
              height: 150px;
            }
          }
        }
        .big_content{
          margin: 25px 0 0 0;
          flex-direction: column !important;
          .l{
            width: 100%;
            .text{
              padding: 25px 0 0 0;
              .year{
                font-size: 16px;
                line-height: 1;
                margin: 0 0 15px;
              }
              .pick{
                font-size: 14px;
                line-height: 1.5;
                width: 100%;
              }
            }
          }
          .r{
            width: 100%;
            margin: 45px 0 0 0;
            .flex{
              margin: 0 0 30px;
              .list{
                &:not(:last-child) {
                  margin: 0 0 35px;
                }
                .time{
                  font-size: 16px;
                  line-height: 1;
                  margin: 0 0 15px;
                }
                p{
                  font-size: 14px;
                  line-height: 1.5;
                  width: 100%;
                }
              }
            }
            .more{
              padding: 10px 20px;
              p{
                font-size: 16px;
              }
              svg{
                width: 15px;
                margin-left: 10px;
              }
            }
          }

        }
        .allItems_title{
          margin: 35px 0 0 0;
          .line{
            width: 60px;
            height: 2px;
            margin-bottom: 3.2291666667vw;
          }
          h1{
            font-size: 32px;
          }
        }
      }
    }
  }
}